/*
 *  Copyright (c) M2TK Project. All rights reserved.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package m2tk.assistant.common.domain;

import java.util.List;

public class MPEGProgram
{
    private int id;
    private String name;
    private boolean freeAccess;
    private int programNumber;
    private int transportStreamId;
    private int bandwidth;
    private int pmtPid;
    private int pcrPid;
    private int pmtVersion;
    private List<CASystemStream> ecmStreams;
    private List<ElementaryStream> elementaryStreams;

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public boolean isFreeAccess()
    {
        return freeAccess;
    }

    public void setFreeAccess(boolean freeAccess)
    {
        this.freeAccess = freeAccess;
    }

    public int getProgramNumber()
    {
        return programNumber;
    }

    public void setProgramNumber(int programNumber)
    {
        this.programNumber = programNumber;
    }

    public int getTransportStreamId()
    {
        return transportStreamId;
    }

    public void setTransportStreamId(int transportStreamId)
    {
        this.transportStreamId = transportStreamId;
    }

    public int getBandwidth()
    {
        return bandwidth;
    }

    public void setBandwidth(int bandwidth)
    {
        this.bandwidth = bandwidth;
    }

    public int getPmtPid()
    {
        return pmtPid;
    }

    public void setPmtPid(int pmtPid)
    {
        this.pmtPid = pmtPid;
    }

    public int getPcrPid()
    {
        return pcrPid;
    }

    public void setPcrPid(int pcrPid)
    {
        this.pcrPid = pcrPid;
    }

    public int getPmtVersion()
    {
        return pmtVersion;
    }

    public void setPmtVersion(int pmtVersion)
    {
        this.pmtVersion = pmtVersion;
    }

    public List<CASystemStream> getEcmStreams()
    {
        return ecmStreams;
    }

    public void setEcmStreams(List<CASystemStream> ecmStreams)
    {
        this.ecmStreams = ecmStreams;
    }

    public List<ElementaryStream> getElementaryStreams()
    {
        return elementaryStreams;
    }

    public void setElementaryStreams(List<ElementaryStream> elementaryStreams)
    {
        this.elementaryStreams = elementaryStreams;
    }
}
